package cn.vivi.order.hystrix;

import cn.vivi.commons.util.Result;
import cn.vivi.order.client.PaymentClient;
import org.springframework.stereotype.Component;

@Component
public class PaymentClientFallBack implements PaymentClient {
    @Override
    public Result findPayment(String id) {
        return Result.error("服务器异常");
    }
}
